package com.hh.bss.xthread;

public interface XThreadPool{
	public abstract void execute(XThreadRunnable runner);

	public abstract int getWorkerCount();
	
	

	public abstract int getQueueSize();

	public abstract int getMaxWorkerCount();
	public abstract void setMaxWorkerCount(int maxWorkerCount);

	public abstract int getMinWorkerCount();
	public abstract void setMinWorkerCount(int minWorkerCount);

	public abstract int getMaxQueueSize();

	public abstract long getExecTimeout();
	public abstract void setExecTimeout(long execTimeout);

	public abstract long getIdleTimeout();
	public abstract void setIdleTimeout(long idleTimeout);

	public abstract boolean overLoaded();
	
	public abstract void initialize();
	
}

